<html>
<head>
<title>登陆</title>
<include file="SPGPub:header" />
<script src="{cms>:RES}/js/zepto.min.js"></script>
</head>

<body>
	<header class="titlebar">
		<a href="javascript:window.history.go(-1)">返回</a>
		<h1>SPG俱乐部登陆</h1>
	</header>
	<div class="container">
		<div class="box">
			<form id="loginform" method="post" class="paddingform">
				<div>
					<input type="text" id="uname" name="uname" require="require" value="" placeholder="会员名或SPG俱乐部会员编号" />
				</div>
				<div>
					<input type="password" id="pwd" name="pwd" require="require" value="" placeholder="密码" autocomplete="off"/>
					<if condition="isset($error) AND ($error eq 1)">
					<br/>
					<span style="color:#f00;">用户名或密码错误</span>
					</if>
					
				</div>
				<div style="text-align: right;">
					<a href="{cms>:U('Wap/Login/findPwd')}">取回密码</a>
				</div>
				<div >
					<button type="submit" class="btn">登陆</button>
				</div>
				<div>
					<a class="btn" href="{cms>:U('Wap/Login/joinSpg')}">立即加入</a>
				</div>
			</form>
		</div>
	</div>
	
	<include file="SPGPub:footer" />
<script src="{cms>:RES}/js/validate.js"></script>
<script type="text/javascript">
	$(function(){
		$('#loginform').validate();
	});
</script>
</body>
</html>
